package com.hhs.storage.service;

import com.hhs.storage.bean.ProjectMember;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hhs
 * @since 2023-01-13
 */
public interface ProjectMemberService extends IService<ProjectMember> {
    public Map<String,Object> getMembersByProjectId(@RequestParam String projectId);
    public Map<String,Object> removeMember(@RequestParam String projectId,@RequestParam String memberId);
    public Map<String,Object> addMember(@RequestParam String projectId,@RequestParam String memberId);

    Map<String, Object> changeIdentity(String id, Integer identityType);
}
